<?php
foreach ($User as $user) {
?>
    <user>
        <id><?php echo $user['User']['id']; ?> </id>
        <username><?php echo $user['User']['username']; ?> </username>
        <email><?php echo $user['User']['email']; ?> </email>
    </user>
<?php
}
?>
